package com.gaohe.mapper;

import com.gaohe.pojo.Goods;
import com.gaohe.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    User findByUsername(String username);
    int add(User user);
    int buy(@Param("price") double price,
            @Param("username") String username);
}
